package com.tyjt.common;

public class Constants {
    public static final String REDIS_KEY_SEPARATOR = ":";
    public static final String REDIS_KEY_GRID_SEPARATOR = "-";
    public static final String REDIS_DATA_PREFIX = "data:";
    public static final String REDIS_GRID_PREFIX= "grid:";
    public static final String SEMICOLON_KEY_SEPARATOR= ";";
    public static final int REDIS_EXP_SECONDS= -1;


    public static final  int GRID_CELL_LEN = 150;


    public static final double TIAN_AN_MEN_LON = 116.39145;
    public static final double TIAN_AN_MEN_LAT = 39.90733;


    public static  final String REDIS_KEY_PATTERN = "{companyId}:{msgType}:{x}:{y}";
    public static  final String CLOUD_2_VEH_TOPIC = "idse/cloud2veh/";
    public static final String EMQ_TOPIC_SEPARATOR = "/";

    public static final double METERS_PER_DEGREE = 111320.0; // 1° ≈ 111,320m

}
